

import { Navigate } from "react-router-dom";
import Home from "../components/Home";
import Cinema from "../components/cinema";
import Perform from "../components/Perform";
import AddCinema from "../components/addCinema";
import Film from "../components/film";
import Advance from "../components/advance";
import Users from "../components/users";
import Ceshi from "../components/ceshi";
export let routers = [
  {
    path: '/',
    element: <Navigate to="/home" />
  },
  {
    path: '/home',
    element: <Home />,
  },
  {
    path: '/cinema',
    element: <Cinema />,
  },
  {
    path: '/advance',
    element: <Advance />,
  },
  {
    path: '/addCinema',
    element: <AddCinema />,
  },
  {
    path: '/perform',
    element: <Perform />
  },
  {
    path: '/cinema/film',
    element: <Film />
  },
  {
    path: '/ceshi',
    element: <Ceshi />
  },
  {
    path: '/users',
    element: <Users />
  }
]